package com.wang.examplespringbootprovider;

import com.wang.example.common.model.User;
import com.wang.example.common.service.UserService;
import com.wang.wangrpc.springboot.starter.annotation.RpcService;
import org.springframework.stereotype.Service;

/**
 * 用户服务实现类
 *
 * @Author 王子旭
 * @Date 2025/04/06 17:56
 * @Version 1.0
 */
@Service
@RpcService
public class UserServiceImpl implements UserService {
    @Override
    public User getUser(User user) {
        System.out.println("用户名：" + user.getName());
        return user;
    }
}
